package com.example.sunmiv1.entity;

import java.util.ArrayList;
import java.util.List;

public class SerialDetailInfo {

    /**
     * status : 1
     * message : 查詢成功
     * data : {"list":[{"id":"548","merchant_id":"1","store_id":"1","outside_id":"4575","goods_id":"3486","sku_id":"0","main_serial_number":"6565","auxiliary_serial_number_one":"","auxiliary_serial_number_two":"","add_time":"2021-03-08 11:31:55","num":"1.000"}],"count":"1"}
     */

    private int status;
    private String message;
    private DataBean data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message == null ? "" : message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * list : [{"id":"548","merchant_id":"1","store_id":"1","outside_id":"4575","goods_id":"3486","sku_id":"0","main_serial_number":"6565","auxiliary_serial_number_one":"","auxiliary_serial_number_two":"","add_time":"2021-03-08 11:31:55","num":"1.000"}]
         * count : 1
         */

        private String count;
        private List<ListBean> list;

        public String getCount() {
            return count == null ? "" : count;
        }

        public void setCount(String count) {
            this.count = count;
        }

        public List<ListBean> getList() {
            if (list == null) {
                return new ArrayList<>();
            }
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 548
             * merchant_id : 1
             * store_id : 1
             * outside_id : 4575
             * goods_id : 3486
             * sku_id : 0
             * main_serial_number : 6565
             * auxiliary_serial_number_one :
             * auxiliary_serial_number_two :
             * add_time : 2021-03-08 11:31:55
             * num : 1.000
             */

            private String id;
            private String merchant_id;
            private String store_id;
            private String outside_id;
            private String goods_id;
            private String sku_id;
            private String main_serial_number;
            private String auxiliary_serial_number_one;
            private String auxiliary_serial_number_two;
            private String add_time;
            private String num;
            private int edit_status;

            public int getEdit_status() {
                return edit_status;
            }

            public void setEdit_status(int edit_status) {
                this.edit_status = edit_status;
            }

            public String getId() {
                return id == null ? "" : id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMerchant_id() {
                return merchant_id == null ? "" : merchant_id;
            }

            public void setMerchant_id(String merchant_id) {
                this.merchant_id = merchant_id;
            }

            public String getStore_id() {
                return store_id == null ? "" : store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getOutside_id() {
                return outside_id == null ? "" : outside_id;
            }

            public void setOutside_id(String outside_id) {
                this.outside_id = outside_id;
            }

            public String getGoods_id() {
                return goods_id == null ? "" : goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getSku_id() {
                return sku_id == null ? "" : sku_id;
            }

            public void setSku_id(String sku_id) {
                this.sku_id = sku_id;
            }

            public String getMain_serial_number() {
                return main_serial_number == null ? "" : main_serial_number;
            }

            public void setMain_serial_number(String main_serial_number) {
                this.main_serial_number = main_serial_number;
            }

            public String getAuxiliary_serial_number_one() {
                return auxiliary_serial_number_one == null ? "" : auxiliary_serial_number_one;
            }

            public void setAuxiliary_serial_number_one(String auxiliary_serial_number_one) {
                this.auxiliary_serial_number_one = auxiliary_serial_number_one;
            }

            public String getAuxiliary_serial_number_two() {
                return auxiliary_serial_number_two == null ? "" : auxiliary_serial_number_two;
            }

            public void setAuxiliary_serial_number_two(String auxiliary_serial_number_two) {
                this.auxiliary_serial_number_two = auxiliary_serial_number_two;
            }

            public String getAdd_time() {
                return add_time == null ? "" : add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }

            public String getNum() {
                return num == null ? "" : num;
            }

            public void setNum(String num) {
                this.num = num;
            }
        }
    }
}
